<script>
    var navs = [{
        "title": "用户及权限",
        "icon": "fa-cubes",
        "spread": true,
        "children": [{
            "title": "用户管理",
            "icon": "&#xe641;",
            "href": "/admin/user/index"
        }, {
            "title": "权限管理",
            "icon": "&#xe63c;",
            "href": "/admin/permission/index"
        }, {
            "title": "角色管理",
            "icon": "&#xe63c;",
            "href": "/admin/role/index"
        }]
    }, {
        "title": "内容管理",
        "icon": "fa-cogs",
        "spread": false,
        "children": [{
            "title": "菜单管理",
            "icon": "fa-table",
            "href": "/admin/menu/index"
        },{
            "title": "文章管理",
            "icon": "fa-table",
            "href": "/admin/post/index"
        },{
            "title": "文章分类",
            "icon": "fa-table",
            "href": "/admin/post_class/index"
        }]
    }, {
        "title": "系统设置",
        "icon": "fa-stop-circle",
        "href": "/",
        "spread": false
    }];
</script>